#-------------------------------------------------
#
# Project created by QtCreator 2017-04-19T09:40:09
#
#-------------------------------------------------

QT       += core gui network websockets

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = OeasyProxy
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += USING_QINIU_LIBRARY_DLL

#DEFINES += NO_WIDGETS
DEFINES += UPLOAD_VIDEOANDPICS_TO_QINIU
DEFINES += USE_NVR_GETVIDEOANDPICS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


SOURCES += main.cpp\
        oeasyproxy.cpp \
    configfile.cpp \
    sms.cpp \
    access.cpp \
    facerecvpic.cpp \
    recognize.cpp \
    ipc.cpp \
    targetcli.cpp \
    intercom.cpp \
    clienthttp.cpp \
    uploadpicvideo.cpp \
    nvr.cpp \
    commonfuc.cpp \
    logfile.cpp \
    uploadvideothread.cpp \
    uploadpicthread.cpp

HEADERS  += oeasyproxy.h \
    configfile.h \
    oeasycommon.h \
    sms.h \
    access.h \
    facerecvpic.h \
    recognize.h \
    ipc.h \
    targetcli.h \
    intercom.h \
    clienthttp.h \
    uploadpicvideo.h \
    nvr.h \
    commonfuc.h \
    logfile.h \
    uploadvideothread.h \
    uploadpicthread.h \
    cpsdeocder.h

FORMS    += oeasyproxy.ui

INCLUDEPATH += $$PWD/HCNetSDK/include
INCLUDEPATH += $$PWD/qiniu/qiniu
#INCLUDEPATH += $$PWD/qiniu/curl
#INCLUDEPATH += $$PWD/qiniu/openssl
#INCLUDEPATH += $$PWD/qiniu/includeTEST


LIBS += -L$$PWD/HCNetSDK/libs/ -lGdiPlus -lHCCore -lHCNetSDK -liconv -lPlayCtrl
LIBS += -L$$PWD/HCNetSDK/libs/HCNetSDKCom/ -lHCAlarm -lHCGeneralCfgMgr -lHCPreview
LIBS += -L$$PWD/qiniu/libs/ -lqiniu
#LIBS += -L$$PWD/qiniu/static_libs/ -lcurllib -llibcurl_a -llibeay32 -lssleay32 -lqiniu
#LIBS += -L$$PWD/qiniu/testdll/ -lqiniu
